package View.SetupScreens;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.SwingConstants;

/**
 * constructor for mule screen
 * This screen gives us the ability to load or start a new game 
 * @author Emily 
 *
 */
public class WelcomeToMuleScreen extends JPanel
{
	public JButton newGameBtn;
	public JButton loadGameBtn;
	
	/**
	 * Constructs the JComponents and adds them to the panel
	 */
	public WelcomeToMuleScreen() {
		setBackground(Color.BLACK);
		setLayout(null);
		setPreferredSize(new Dimension(1200, 800));
		
		JLabel welcomeToLbl = new JLabel("WELCOME TO");
		welcomeToLbl.setHorizontalAlignment(SwingConstants.CENTER);
		welcomeToLbl.setFont(new Font("Helvetica", Font.BOLD, 45));
		welcomeToLbl.setForeground(new Color(204, 153, 0));
		welcomeToLbl.setBounds(443, 183, 314, 46);
		add(welcomeToLbl);
		
		JLabel lblNewLabel = new JLabel("M.U.L.E.");
		lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
		lblNewLabel.setForeground(new Color(204, 153, 0));
		lblNewLabel.setFont(new Font("Helvetica", Font.BOLD, 99));
		lblNewLabel.setBounds(388, 225, 423, 116);
		add(lblNewLabel);
		
		newGameBtn = new JButton("NEW GAME");
		newGameBtn.setFont(new Font("Helvetica", Font.PLAIN, 60));
		newGameBtn.setBounds(167, 419, 431, 116);
		add(newGameBtn);
		
		loadGameBtn = new JButton("LOAD GAME");
		loadGameBtn.setFont(new Font("Helvetica", Font.PLAIN, 60));
		loadGameBtn.setBounds(627, 419, 401, 116);
		add(loadGameBtn);
	}
}
